package teste;

import contas.Conta;
import contas.ContaCorrente;
import contas.ContaPoupanca;

public class TesteContas {
	public static void main(String[] args) {

		Conta c = new Conta();

		ContaCorrente cc = new ContaCorrente();

		ContaPoupanca cp = new ContaPoupanca();

		c.deposita(1000);
		cc.deposita(1000);
		cp.deposita(1000);

		
		System.out.println();
		System.out.println(c.atualiza(0.01));
		System.out.println(cc.atualiza(0.01));
		System.out.println(cp.atualiza(0.01));
	}
}
